package com.itlzb.blog.user.service.impl;

import com.itlzb.blog.user.entity.User;
import com.itlzb.blog.user.mapper.UserMapper;
import com.itlzb.blog.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;


    @Override
    public List<User> selectALL() {
        List<User> users = userMapper.selectALL();
        return users;
    }

}
